﻿using System.Collections.Generic;
using Core.Domain;
using Core.SyntaxAnalysis;
using Core.SyntaxAnalysis.Classes;

namespace Core
{
    public class SemanticAnalyzer
    {
        public bool Analyze(Program p, ref List<CompilerError> errors)
        {
            return p.SemanticCheck(ref errors);
        }
    }
}